from django.urls import path
from . import views
urlpatterns = [
    path('api/v1/merchant/sms_send/<str:mobile>/',views.SmsCode.as_view()),
    path('api/v1/merchant/register/', views.Register.as_view()),
    path('api/v1/merchant/login/', views.Login.as_view()),
    path('api/v1/merchant/upload/', views.Upload.as_view()),
    path('api/v1/merchant/info/', views.MerchantInfo.as_view()),
    path('api/v1/merchant/cate/', views.CateInfo.as_view()),
    path('api/v1/merchant/cate/<int:id>/', views.CateView.as_view()),
    path('api/v1/merchant/good/', views.GoodsInfo.as_view()),
    path('api/v1/merchant/good/<int:id>/', views.GoodsView.as_view()),
]

